/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-03-19     weihui       the first version
 */
#ifndef APPLICATIONS_BSP_BSP_ADC_H_
#define APPLICATIONS_BSP_BSP_ADC_H_

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


#include <bsp/bsp.h>

extern ADC_HandleTypeDef hadc1;

extern uint32_t hPhaseA_OffSet;//
extern uint32_t hPhaseB_OffSet;//
extern uint32_t hPhaseC_OffSet;//

void bsp_adc_init(void);

extern void MX_ADC1_Init(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* APPLICATIONS_BSP_BSP_ADC_H_ */
